package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
/**
 * 手术参与人员对象 surgery_worker
 * 
 * @author liuyangyang
 * @date 2025-06-08
 */
@Data
public class SurgeryWorker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long surgeryWorkerId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 手术计划ID */
    @Excel(name = "手术计划ID")
    private Long surgeryId;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String userType;

    /** 工作类型0，正常班1接班 */
    @Excel(name = "工作类型0，正常班1接班")
    private String workerType;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 0启用1禁用 */
    @Excel(name = "0启用1禁用")
    private Long status;

    /** 0正常1删除 */
    private Long delFlag;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgeryWorkerId", getSurgeryWorkerId())
            .append("userId", getUserId())
            .append("surgeryId", getSurgeryId())
            .append("userType", getUserType())
            .append("workerType", getWorkerType())
            .append("userName", getUserName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
